package com.dandan.mobilelover.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.dandan.mobilelover.entity.Category;


public interface CategoryRepository extends JpaRepository<Category, Integer>{
	public Category findById(int id);
	
	public List<Category> findByType(int type);
	
}
